<%@page import="main.TankSicherheit"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="/TankSicherheit/css/mcss.css"
	type="text/css">
<title>TankSicherheit</title>
</head>
<body>
	<header id="header"> </header>
	<div id="main">
		<div class="simpleContentBox">
			<div class="simpleHeaderRow">
				<div class="simpleHeaderRowElement">
					Modul
				</div>
				<div class="simpleHeaderRowElement">
					Status
				</div>
				<div class="simpleHeaderRowElement">
					
				</div>
			</div>
			<c:forEach var="modul" items="${modulelist }">
			<div class="simpleContentRow">
				<div class="simpleContentRowElement">
					${modul.displayName }
				</div>
				<div class="simpleContentRowElement">
					${modul.status}
				</div>
				<div class="simpleContentRowElement">
					<form method=post action="/TankSicherheit/admin/modules" style="display:inline">
						<input type="hidden" name="modul" value="${modul.displayName }">
						<input type="hidden" name="command" value="start">
						<input type="submit"  value="start">
					</form>
					<form method=post action="/TankSicherheit/admin/modules" style="display:inline">
						<input type="hidden" name="modul" value="${modul.displayName }">
						<input type="hidden" name="command" value="stop">
						<input type="submit"  value="stop">
					</form>
					
				</div>
			</div>
			</c:forEach>
		</div>
	</div>
</body>
</html>